package com.librarySystem.dto;


public class QueryRestrictionsDTO {
	private int bookId;
	private int bookNumber;
	private int bookType;
	private String bookName;
	private String author;
	
	public int getBookId() {
		return bookId;
	}
	public void setBookId(int bookId) {
		this.bookId = bookId;
	}
	public int getBookNumber() {
		return bookNumber;
	}
//	public void setBookNumber(int bookNumber) {
//		this.bookNumber = bookNumber;
//	}
	public void setBookNumber(String bookNumber) {
		try {
			this.bookNumber = Integer.parseInt(bookNumber);
		} catch (NumberFormatException e) {
		}
	}
	public int getBookType() {
		return bookType;
	}
	public void setBookType(int bookType) {
		this.bookType = bookType;
	}
	public String getBookName() {
		return bookName;
	}
	public void setBookName(String bookName) {
		this.bookName = bookName;
	}
	public String getAuthor() {
		return author;
	}
	public void setAuthor(String author) {
		this.author = author;
	}
	

}
